package com.app.model.main;

public class ConsumeRecord {
    private Long id;

    private Long consume;

    private String time;

    private Long fromId;

    private Long toId;

    public Long getId() {
        return id;
    }

    public ConsumeRecord setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getConsume() {
        return consume;
    }

    public ConsumeRecord setConsume(Long consume) {
        this.consume = consume;
        return this;
    }

    public String getTime() {
        return time;
    }

    public ConsumeRecord setTime(String time) {
        this.time = time == null ? null : time.trim();
        return this;
    }

    public Long getFromId() {
        return fromId;
    }

    public ConsumeRecord setFromId(Long fromId) {
        this.fromId = fromId;
        return this;
    }

    public Long getToId() {
        return toId;
    }

    public ConsumeRecord setToId(Long toId) {
        this.toId = toId;
        return this;
    }
}